﻿namespace PLCS.Domain.Orders;

public interface IOrderRepository : IRepository<Order, Guid>
{
    Task<IEnumerable<Order>> GetOrderListAsync(Expression<Func<Order, bool>> predicate);

    Task<IEnumerable<Order>> GetOrderListAsync();

    Task<Order?> FindOrderByNoAsync(string orderNo);

    Task ChangeOrderStatusAsync(string orderNo, OrderStatus status);
}